package com.rlzy.model;

public class PesRole {

	public PesRole() {
		super();
	}

	public PesRole(Integer id, String name, Integer departmentId, Integer baseroleId, Integer dispinorgantree) {
		super();
		this.id = id;
		this.name = name;
		this.departmentId = departmentId;
		this.baseroleId = baseroleId;
		this.dispinorgantree = dispinorgantree;
	}

	@Override
	public String toString() {
		return "PesRole [id=" + id + ", name=" + name + ", departmentId=" + departmentId + ", baseroleId=" + baseroleId
				+ ", dispinorgantree=" + dispinorgantree + "]";
	}

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column pes_role.ID
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	private Integer id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column pes_role.NAME
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	private String name;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column pes_role.DEPARTMENT_ID
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	private Integer departmentId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column pes_role.BASEROLE_ID
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	private Integer baseroleId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column pes_role.DISPINORGANTREE
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	private Integer dispinorgantree;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column pes_role.ID
	 * @return  the value of pes_role.ID
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column pes_role.ID
	 * @param id  the value for pes_role.ID
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column pes_role.NAME
	 * @return  the value of pes_role.NAME
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public String getName() {
		return name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column pes_role.NAME
	 * @param name  the value for pes_role.NAME
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column pes_role.DEPARTMENT_ID
	 * @return  the value of pes_role.DEPARTMENT_ID
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public Integer getDepartmentId() {
		return departmentId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column pes_role.DEPARTMENT_ID
	 * @param departmentId  the value for pes_role.DEPARTMENT_ID
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column pes_role.BASEROLE_ID
	 * @return  the value of pes_role.BASEROLE_ID
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public Integer getBaseroleId() {
		return baseroleId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column pes_role.BASEROLE_ID
	 * @param baseroleId  the value for pes_role.BASEROLE_ID
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public void setBaseroleId(Integer baseroleId) {
		this.baseroleId = baseroleId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column pes_role.DISPINORGANTREE
	 * @return  the value of pes_role.DISPINORGANTREE
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public Integer getDispinorgantree() {
		return dispinorgantree;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column pes_role.DISPINORGANTREE
	 * @param dispinorgantree  the value for pes_role.DISPINORGANTREE
	 * @mbg.generated  Fri Aug 31 18:33:36 CST 2018
	 */
	public void setDispinorgantree(Integer dispinorgantree) {
		this.dispinorgantree = dispinorgantree;
	}
}